﻿using System;
using System.Collections.Generic;
using System.Text;
using Yz.Base;

namespace Yz.Model.Entities
{
    /// <summary>
    /// 角色
    /// </summary>
    public class Role : UpdateEntityKey
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 用户列表
        /// </summary>
        public virtual ICollection<User> Users { get; set; }
    }
}
